import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/history'
import Trade from '@/components/trade'
import Rule from '@/components/rule'
import History from '@/components/history'

Vue.use(Router)

export default new Router({
	routes: [
		{
			path: '/',
			name: 'Home',
			component: Home
		},
		{
			path: '/components/trade',
			name: 'Trade',
			component: Trade
		}, {
			path: '/components/rule',
			name: 'Rule',
			component: Rule
		}, {
			path: '/components/history',
			name: 'History',
			component: History
		}
	]
})